<?php echo View::factory('admin/travel/travel_left')->render(); ?>
<script type="text/javascript" src="/media/js/my_validation.js"></script>
<script>
 
    
  
</script>


<div id="do_right" class="catalog_right">
    <div class="box" style="overflow:hidden;">
        <h3 id="h3_left">分类管理</h3>
        <div class="clear"></div>

        <div id="tabs">
            <ul>
                <li><a href="#tabs-1">分类管理</a></li>

            </ul>
            <!--START tabs-1 -->
            <div id="tabs-1">
                <ul>
                    <li>
                        <div id="catalogid">
                           
                             <span>分类列表<a id="catalog_tree_collapse_expand" href="#">收起所有</a></span>
                            <?php echo $catalog_tree; ?>
                             
                        </div>
                        <div style=" float: left;">
                            <form method="post" action="/admin/category/list/" class="need_validation" id="commentForm">
                                <ul>

                        <li>
                            <label for="name" class="lable_title">分类名称<span class="req">*</span></label>
                            <input name="name" id="name" class="text medium required"  value=""/>
                        </li>
                        <li > <label for="parentid" class="lable_title" >上级分类<span class="req">*</span></label>
                             <select class="drop required" name="parentid" id="parentid">
                                 <option value="0">--ROOT--</option>
                                            <?php
                                            echo $catalog_opt;
                                            ?>
                                        </select>
                        </li>
                        <li>
                            <label for="name_url" class="lable_title">显示链接地址</label>
                            <input name="name_url" id="name_url" class="text  medium"  value=""/>
                        </li>
                        <li>
                            <label for="position" class="lable_title">排序</label>
                            <input name="position" id="order" class="text number"  value=""/>
                        </li>
                  
                           <li>
                            <label for="content" class="lable_title">简介</label>
                            <textarea name="content"  id="content" class="textarea" style="width:500px;height:100px;"></textarea>
                        </li>

                        <li>
                            <label for="meta_title" class="lable_title">metatitle</label>
                            <input name="meta_title" id="meta_title" class="text medium"  value=""/>
                        </li>
                        <li>
                            <label for="meta_keywords" class="lable_title">metakeywords</label>
                            <input name="meta_keywords" id="meta_keywords" class="text medium"  value=""/>
                        </li>
                        <li>
                            <label for="meta_description" class="lable_title">metadescription</label>
                            <textarea name="meta_description"  id="meta_description" class="textarea" style="width:500px;height:100px;"></textarea>
                        </li>
                         <li>
                            <label for="meta_description" class="lable_title"></label>
                             <input value="保存" class="button" type="submit" style="margin-left: 300px;"/>
                        </li>
                    </ul>
                            </form>
                        </div>
                    </li>

                </ul>
                <div style="clear:both;"></div>
            </div>
            <!--END tabs-1 -->
        </div>
    </div>
</div>
